package love.bot.forli.group.review.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author Kontori
 */
@Data
@ApiModel(description = "题组实体")
public class QuestionGroup {

    @ApiModelProperty(value = "题组id", required = true)
    @TableId(value = "question_group_id", type = IdType.AUTO)
    private Integer questionGroupId;

    @ApiModelProperty(value = "题组名称")
    private String groupName;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "题组类型id")
    private Integer questionTypeId;

    @ApiModelProperty(value = "备注")
    private String remark;

}
